package com.colorfruit.admin.business.dao;

import com.colorfruit.admin.pojo.entity.PurchaseTotalInfo;
import com.colorfruit.admin.pojo.vo.purchase.PurchaseTotalInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PurchaseTotalInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PurchaseTotalInfo record);

    int insertSelective(PurchaseTotalInfo record);

    PurchaseTotalInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PurchaseTotalInfo record);

    int updateByPrimaryKey(PurchaseTotalInfo record);

    List<PurchaseTotalInfoVo> selectPurchaseList(@Param("globalControlId") Long globalControlId);
}